//app.js
App({
  onLaunch: function () {
    var sysinfo = wx.getSystemInfoSync();
    if (sysinfo) {
      this.globalData.platform = sysinfo.platform;
      this.globalData.windowHeight = sysinfo.windowHeight;
      this.globalData.windowWidth = sysinfo.windowWidth;
      this.globalData.model = sysinfo.model
    }
  },
  globalData: {
    url: 'https://fc.wx133.com:8501/',
    windowHeight: null,
    windowWidth: null,
    model: '',
    platform:'',
    token:'',
    version: '1.0.0',
    no: '01',
    accountBookId:'1',
    company:''
  }
})